//
//  UIColor+Extension.swift
//  LJ表情键盘
//
//  Created by Raymond on 15/12/28.
//  Copyright © 2015年 liu. All rights reserved.
//

import UIKit
extension UIColor {
    class func randomColor() -> UIColor {
        return UIColor(red: UIColor.randomVaule(), green: UIColor.randomVaule(), blue: UIColor.randomVaule(), alpha: 1)
    }
    private class func randomVaule() -> CGFloat {
        return CGFloat(arc4random_uniform(256))/255.0
    }
}
